import useAxiosApi from '/@/utils/useAxiosApi';
const baseUrl = import.meta.env.VITE_APP_EDU_API;

export function getStudentExamArrange() {
    return useAxiosApi(baseUrl+`/getStudentExamArrange`, {
        method: 'get',
        data: {},
    });
}

export function getTeacherExamArrange() {
    return useAxiosApi(baseUrl+`/getTeacherExamArrange`, {
        method: 'get',
        data: {},
    });
}

export function queryTeacherExamArrange({date, startTime, endTime}) {
    return useAxiosApi(baseUrl+`/queryTeacherExamArrange`, {
        method: 'post',
        data: {
            date: date,
            startTime: startTime,
            endTime: endTime
        },
    });
}
